package com.oschat.entity.constants;

import com.oschat.entity.enums.UserContactTypeEnum;

/**
 * @Description TODO
 * @Classname Constants
 * @Date 2024/10/31 11:47
 * @Created by panda
 */
public class Constants {
    public static final Integer REDIS_TIME_1MIN = 60;//单位：s
    public static final Integer REDIS_KEY_EXPIRES_DAY = 86400;//单位：s
    public static final Integer REDIS_TIME_2 = 2;
    public static final Integer LENGTH_11 = 11;
    public static final Integer LENGTH_20 = 20;
    public static final String REDIS_KEY_CHECK_CODE = "oschat:checkcode:";
    public static final String REDIS_KEY_WS_USER_HEART_BEAT = "oschat:ws:user:heartbeat";
    public static final String REDIS_KEY_WS_TOKEN = "oschat:ws:token:";
    public static final String REDIS_KEY_WS_TOKEN_USER = "oschat:ws:token:userid";
    public static final String ROBOT_UID = UserContactTypeEnum.USER.getPrefix() + "robot";
    public static final String REDIS_KEY_SYS_SETTING = "oschat:syssetting:";

}
